package com.atguigu.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 为了给线程池参数进行配置
 * */

@ConfigurationProperties(prefix = "gulimall.thread")
// @Component
@Data
public class ThreadPoolConfigProperties {

    private Integer coreSize;  //核心线程数

    private Integer maxSize;    //最大线程数

    private Integer keepAliveTime;  //线程保持时间


}
